<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-medical-recipel" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			点击工具栏 <strong><font color="red">查询条件</font></strong> 可根据需要设置数据查询及过滤条件,条件设置完成后点击工具栏 <Strong><font color="red">执行查询</font></strong> 按钮，可查看查询结果
		</p>
	</div>
	<div class="condition easyui-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<form class="condition-form">
			<fieldset>
			<table> 	
				<tr>
					<th>事项状态</th>
					<td><input name="flow_state" id="flow_state" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					<th>科室名称</th>
					<td><input name="doct_depart_name_like" id="doct_depart_name_like" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					<th>质询时间</th>
					<td><input name="inquiry_date_start" id="inquiry_date_start" class="easyui-datebox easyui-validatebox" style="width:150px"/></td>
					<th>-</th>
					<td><input id="inquiry_date_end" name="inquiry_date_end" class="easyui-datebox easyui-validatebox" style="width:150px"/></td>					
				</tr>				
				
			</table>
			</fieldset>
		</form>
	</div>
	<div class="search-mm">
			
			<div name="bizno_like">质询编号</div>
			<div name="inquiry_item_like">事项类别</div>
			<div name="inquiry_item_sub_like">事项类型</div>
			<div name="decide_result_like">裁决意见</div>
			<div name="affirm_result_like">认定意见</div>
			<!--<div name="sqsj">申请时间</div>-->			
	</div>
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
			
				</td>
				<td style="padding-left:2px">
					<input class="searchbox" type="text"/>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"  plain="true" >查询条件</a>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn" iconCls="icon-search" plain="true" >执行查询</a>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"  iconCls="icon-exportCurrent" plain="true" >导出当前页</a>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"  iconCls="icon-exportAll" plain="true" >导出全部</a>
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list" 
		data-options="rownumbers:true,
		animate: true,						
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',						
		fitColumns: true,
		pagination:true,		
		checkOnSelect:true,
		selectOnCheck:true,
		rowStyler: function (index, row) {
			if(row.flowStatus && row.flowStatus ==2){                
                    return 'background-color:red;'                
             }                    
        }">
		
		<thead>						
			<tr>
				<th field="ck" checkbox="true" ></th>
				<th field="bizno" width="60" align="center">质询编号</th>
				<th field="inquiry_date" width="60" align="center">质询日期</th>			
				<th field="doct_depart_name" width="60" align="center">科室名称</th>
				<!--<th field="patient_type" width="60" align="center">科室类别</th>-->
				<!--<th field="doct_name" width="60" align="center">医生姓名</th>-->
				
				<th field="inquiry_item" width="60" align="center">事项类别</th>
				<th field="inquiry_item_sub" width="60" align="center">事项类型</th>
				<th field="inquiry_reason" width="60" align="center">质询原因</th>
				
				<th field="litigant_content" width="100" align="center">辩解意见</th>
				
				<th field="zyhm" width="80" align="center">院内编号</th>
				<th field="patient_name" width="60" align="center">患者姓名</th>				
				
				<th field="decide_result" width="60" align="center">裁决意见</th>
				<th field="affirm_result" width="60" align="center">认定意见</th>
				<th field="flowState" width="60" align="center">质询环节</th>														
									
			</tr>
		</thead>
		
	</table>
	  
	<div id='medical-recipel-win' class="easyui-window" data-options="closed:true" title='质询事项处置'>  		
	</div>
</div> 

 
<script>
requirejs(['listPageModule','recipel','domReady!'],function(flowedit,recipel,doc){
	flowedit.init({doc:doc,
		rootId:'panel-medical-recipel',
		subSystemCode:'medical',
		moduleCode:'medicalRecipel',
		editWindow:'medical-recipel-win',
		initQueryParams:{flowtype:'0'},
		querylistUrl:'getTaskListDomain',		
		onWindowClose:recipel.closeWindow,
		initElement:recipel.initList,
		rowDblClick:recipel.rowDblClick});
});	
</script>

